package com.vcaresolution.logistic.form;

//import javax.persistence.criteria.CriteriaBuilder.In;
import java.util.Date;

import javax.validation.constraints.NotNull;

//import org.hibernate.validator.constraints.NotEmpty;
import org.springframework.stereotype.Component;

import com.vcaresolution.logistic.pojo.Datemanager;
import com.vcaresolution.logistic.pojo.Jobregister;
import com.vcaresolution.logistic.pojo.Shippingbill;

/**
 * <code>DateManagerForm</code> represents Job management related fields.
 *
 * @author Dharam C. Gusai
 * @version 1.0
 * @since ShipSoft 1.0
 */
@Component
public class DatemanagerForm extends Datemanager{

	private static final long serialVersionUID = 1L;
	
	@NotNull
	private Integer jobnoid;
	
	@NotNull
	private Integer sbid;

	private String timeframe;
	
	private Date pickupdate;
	
	private Date icdstuffdate;
	
	private Date destuffdate;
	
	private Date returntolinedate;
	
	private Date destdestuffdate;
	
	private Integer vslid;
	
	private Date cutoff;
	
	private Date etd;
	
	private String routine;
	
	private String salesperson;
	
	private String clearanceat;
	
	private String activity;
	
	public Integer getJobnoid() {
		return jobnoid;
	}

	public void setJobnoid(Integer jobnoid) {
		this.jobnoid = jobnoid;
	}

	public Integer getSbid() {
		return sbid;
	}

	public void setSbid(Integer sbid) {
		this.sbid = sbid;
	}

	@Override
	@NotNull
	public Jobregister getJobregister() {
		return super.getJobregister();
	}

	@Override
	@NotNull
	public Shippingbill getShippingbill() {
		return super.getShippingbill();
	}

	public String getTimeframe() {
		return timeframe;
	}

	public void setTimeframe(String timeframe) {
		this.timeframe = timeframe;
	}

	public Integer getVslid() {
		return vslid;
	}

	public void setVslid(Integer vslid) {
		this.vslid = vslid;
	}

	public Date getCutoff() {
		return cutoff;
	}

	public void setCutoff(Date cutoff) {
		this.cutoff = cutoff;
	}

	public Date getEtd() {
		return etd;
	}

	public void setEtd(Date etd) {
		this.etd = etd;
	}

	public String getRoutine() {
		return routine;
	}

	public void setRoutine(String routine) {
		this.routine = routine;
	}

	public String getSalesperson() {
		return salesperson;
	}

	public void setSalesperson(String salesperson) {
		this.salesperson = salesperson;
	}

	public String getClearanceat() {
		return clearanceat;
	}

	public void setClearanceat(String clearanceat) {
		this.clearanceat = clearanceat;
	}

	public String getActivity() {
		return activity;
	}

	public void setActivity(String activity) {
		this.activity = activity;
	}

	public Date getPickupdate() {
		return pickupdate;
	}

	public void setPickupdate(Date pickupdate) {
		this.pickupdate = pickupdate;
	}

	public Date getIcdstuffdate() {
		return icdstuffdate;
	}

	public void setIcdstuffdate(Date icdstuffdate) {
		this.icdstuffdate = icdstuffdate;
	}

	public Date getDestuffdate() {
		return destuffdate;
	}

	public void setDestuffdate(Date destuffdate) {
		this.destuffdate = destuffdate;
	}

	public Date getReturntolinedate() {
		return returntolinedate;
	}

	public void setReturntolinedate(Date returntolinedate) {
		this.returntolinedate = returntolinedate;
	}

	public Date getDestdestuffdate() {
		return destdestuffdate;
	}

	public void setDestdestuffdate(Date destdestuffdate) {
		this.destdestuffdate = destdestuffdate;
	}

}